package com.cb.kfc.service;

import com.cb.kfc.domain.Member;

import java.util.List;

public interface IMemberService {

    List<Member> findAll(int page, int size) throws  Exception;

    void save(Member member);

    Integer deleteProductById(String[] ids);

    Member findById(String id);

    void give(String memberid, String friendid);

    Integer deleteFriend(String[] ids);

    void update(Member member);
}
